package com.library.domain;

import com.library.common.annotation.Excel;
import com.library.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @Author julyWhj
 * @Description $
 * @Date 2022/3/25 5:01 下午
 **/
@Data
public class AppBanner extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long bannerId;

    /**
     * banner编号
     */
    @Excel(name = "banner编号")
    private String bannerNo;

    /**
     * 横幅名称
     */
    @Excel(name = "横幅名称")
    private String bannerName;

    /**
     * 横幅图片地址
     */
    @Excel(name = "横幅图片地址")
    private String bannerImg;

    /**
     * 横幅顺序
     */
    @Excel(name = "横幅顺序")
    private Long bannerOrder;

    /**
     * 活动ID
     */
    @Excel(name = "活动ID")
    private String activityNo;

    /**
     * 跳转地址
     */
    private String pathUrl;

    /**
     * 图书录入人
     */
    @Excel(name = "图书录入人")
    private String userId;

    /**
     * 扩展字段1
     */
    @Excel(name = "扩展字段1")
    private String ext1;

    /**
     * 扩展字段2
     */
    @Excel(name = "扩展字段2")
    private String ext2;

    /**
     * 扩展字段3
     */
    @Excel(name = "扩展字段3")
    private String ext3;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("bannerId", getBannerId()).append("bannerNo", getBannerNo()).append("bannerName", getBannerName()).append("bannerImg", getBannerImg()).append("bannerOrder", getBannerOrder()).append("activityId", getActivityNo()).append("userId", getUserId()).append("createTime", getCreateTime()).append("updateTime", getUpdateTime()).append("ext1", getExt1()).append("ext2", getExt2()).append("ext3", getExt3()).toString();
    }
}

